package com.atguigu.gulimall.search.service;

import com.atguigu.common.to.es.SkuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * @title: ProductSaveService
 * @Author syh
 * @Date: 2022/6/24 15:44
 * @Version 1.0
 */
public interface ProductSaveService {
    /**
     * 商品上架保存到es中
     *
     * @param skuEsModels
     */
    Boolean productStartUp(List<SkuEsModel> skuEsModels) throws IOException;
}
